package com.ibm.cps.implementations;

import java.util.HashSet;

@Deprecated
public class MessageSet {
	private HashSet<MessageToMQ> messageSet;
	private int setSize = 0;

	public MessageSet() {
		messageSet = new HashSet<MessageToMQ>();
	}

	public void addMessage(MessageToMQ message) {
		setSize++;
		messageSet.add(message);
	}

	public HashSet<MessageToMQ> getMessageSet() {
		return messageSet;
	}

	public int getSetSize() {
		return setSize;
	}
}
